.class Lcom/instagram/android/login/b/ar;
.super Ljava/lang/Object;
.source "RegisterFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/login/b/ah;


# direct methods
.method constructor <init>(Lcom/instagram/android/login/b/ah;)V
    .locals 0
    .parameter

    .prologue
    .line 322
    iput-object p1, p0, Lcom/instagram/android/login/b/ar;->a:Lcom/instagram/android/login/b/ah;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 325
    invoke-static {}, Lcom/instagram/android/nux/a/a;->a()Lcom/instagram/android/nux/a/a;

    move-result-object v0

    const-string v1, "reg_button_clicked"

    invoke-virtual {v0, v1}, Lcom/instagram/android/nux/a/a;->a(Ljava/lang/String;)V

    .line 328
    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v0

    const-wide v2, 0x139b37cbc60L

    cmp-long v0, v0, v2

    if-gez v0, :cond_0

    .line 329
    sget v0, Lcom/facebook/ba;->wrong_datetime:I

    invoke-static {v0}, Lcom/instagram/n/j;->a(I)V

    .line 363
    :goto_0
    return-void

    .line 333
    :cond_0
    new-instance v0, Landroid/text/SpannableStringBuilder;

    invoke-direct {v0}, Landroid/text/SpannableStringBuilder;-><init>()V

    .line 334
    iget-object v1, p0, Lcom/instagram/android/login/b/ar;->a:Lcom/instagram/android/login/b/ah;

    sget v2, Lcom/facebook/ba;->you_entered_your_email_as:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/login/b/ah;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    .line 335
    const-string v1, "\n"

    invoke-virtual {v0, v1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    .line 336
    iget-object v1, p0, Lcom/instagram/android/login/b/ar;->a:Lcom/instagram/android/login/b/ah;

    invoke-static {v1}, Lcom/instagram/android/login/b/ah;->b(Lcom/instagram/android/login/b/ah;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/instagram/n/k;->a(Ljava/lang/String;)Landroid/text/Spannable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    .line 337
    const-string v1, "\n\n"

    invoke-virtual {v0, v1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    .line 338
    iget-object v1, p0, Lcom/instagram/android/login/b/ar;->a:Lcom/instagram/android/login/b/ah;

    sget v2, Lcom/facebook/ba;->is_this_correct:I

    invoke-virtual {v1, v2}, Lcom/instagram/android/login/b/ah;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    .line 340
    new-instance v1, Lcom/instagram/ui/a/a;

    iget-object v2, p0, Lcom/instagram/android/login/b/ar;->a:Lcom/instagram/android/login/b/ah;

    invoke-virtual {v2}, Lcom/instagram/android/login/b/ah;->j()Landroid/support/v4/app/j;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/ui/a/a;-><init>(Landroid/content/Context;)V

    invoke-virtual {v1, v0}, Lcom/instagram/ui/a/a;->a(Ljava/lang/CharSequence;)Lcom/instagram/ui/a/a;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/a;->a(Z)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->yes:I

    new-instance v2, Lcom/instagram/android/login/b/at;

    invoke-direct {v2, p0}, Lcom/instagram/android/login/b/at;-><init>(Lcom/instagram/android/login/b/ar;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->a(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->no:I

    new-instance v2, Lcom/instagram/android/login/b/as;

    invoke-direct {v2, p0}, Lcom/instagram/android/login/b/as;-><init>(Lcom/instagram/android/login/b/ar;)V

    invoke-virtual {v0, v1, v2}, Lcom/instagram/ui/a/a;->c(ILandroid/content/DialogInterface$OnClickListener;)Lcom/instagram/ui/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/ui/a/a;->b()Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->show()V

    goto :goto_0
.end method
